#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os

DEBUG = False  # 启动Flask的Debug模式
SQLALCHEMY_ECHO = False
BCRYPT_LEVEL = 13  # 配置Flask-Bcrypt拓展
# MAIL_FROM_EMAIL = "robert@example.com"  # 设置邮件来源

basedir = os.path.abspath(os.path.dirname(__file__))

SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'data.sqlite')

SQLALCHEMY_COMMIT_ON_TEARDOWN = True